const store = {
    state:{
        arr: [1,3,5,7]
    },
    actions:{
        arrpush(newState:{arr: number[]},action:{type:string,val:number}){
            newState.arr.push(action.val)
        }
    },
    actionNames:{}
}

const actionNames = {};

for(let key in store.actions){
    actionNames[key] = key
}

store.actionNames = actionNames

export default store